package com.hxzy.service;

import com.hxzy.entity.User;

public interface UserService {
    ServiceResult<User> register(final String email,final long phone,final String username,final String passwd,
            final String nickname,final String realname,final String headImg);
    
    User emailExists(final String email);
    
    boolean nameExists(final String username);
    
    public User login(final String name,final String passwd,final String ip,final String remeberMe);
    
}
